let t = {"type":"Buffer","data":[104,117,97,110,103,232,176,166]}

let tb = new Buffer(t.data)


console.log(Buffer.isBuffer(tb), tb)

let b2 = Buffer.from("huang谦", 'utf-8');
let data = {
    cmd : "test",
    data : b2
}


console.log(JSON.parse(JSON.stringify(data)))




